home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / diag / incremnt.zip / INCREMNT.DOC < prev   
Text File  |  1992-10-02  |  3KB  |  71 lines

  1.  
  2.                                INCREMNT.BAT
  3.  
  4.  
  5. -----------type INCREMNT at the prompt to get what is written below---------
  6.  
  7.  
  8.  
  9. SYNTAX = INCREMNT FILENAME EXT
  10. INCREMNT = FIRST NAME OF PROGRAM ( STARTS PROGRAM )
  11. FILENAME = FIRST NAME OF FILE TO INCREMENT ( and a space )
  12. EXT =  THE EXTENSION NAME OF THE FILE TO INCREMENT
  13. There must be a space between the FILENAME and the EXTension.
  14. INCREMNT.BAT makes incremented backup files of input %%1.%%2
  15. and makes a batch file in the directory of the file you are in
  16. that gives INCREMNT.BAT the filename.ext each time it is called.
  17. MEANING type on your document and to save it call increment and
  18. give it the FILENAME and EXTension.  INCREMNT.BAT increments the
  19. file and makes a batch file to make the next incrementing easier.
  20. The incremented files sit in the first part of the alphabetically
  21. organized directory and the file your are working on sits at the end.
  22. This makes it easier to find and work on.  Enjoy.
  23.  INCREMNT.BAT       By  Steve Elliott
  24.  
  25.  
  26. --------------------------------- HOW TO --------------------------------
  27.  
  28. INCREMNT.BAT  was made to assist in making backups as you build a text
  29. file.  The first time you want to save the text file you are making;
  30. type and enter  INCREMNT and the filename, space, and extension filename.
  31. This will increment the first backup and make filename.bat.
  32. FILENAME.BAT is a batch file that INCREMNT.BAT makes so it will be easier
  33. to increment the next backup you make.  EXAMPLE
  34. INCREMNT README DOC
  35. will make README.BAT and you will have the first backup in the directory
  36. you are in named README.01 
  37. To make README.02 just type README to activate INCREMNT.BAT which calls
  38. INCREMNT.BAT and increments the last README.DOC to a number one greater
  39. than the last incremented README.DOC which is this case you will have
  40. README.02 from README.DOC
  41. It is a good idea to make a backup each time you implement major changes
  42. in a text file.  If you are using a program such as NORTON COMMANDER
  43. you can just high light README.BAT and press enter and it increments
  44. a backup for you.  NC also keeps files alphabetically organized in the
  45. directory.  This is quite helpful since the backups are of a lesser
  46. value and sit in the first part of the directory.  Usually the file 
  47. you are working on ( README.DOC ) in this case will be the last
  48. file in the directory should you have made a directory just for
  49. the making of README.DOC .
  50.  
  51.  
  52. -----------------------------WHAT DOES IT DO --------------------------------
  53.  
  54. It just uses the copy command from the DOS directory to make a backup for
  55. you.  It will make up to 20 backups and then you can change the name of
  56. the file you are making and make 20 more backups. Such as, when you get to
  57. README.20  rename README.DOC TO README1.DOC and do it all over again.
  58.  
  59. ---------------------------------DIRECTORIES ---------------------------------
  60.  
  61. Put INCREMNT.BAT in a directory that is in path and you will be able to
  62. increment any .DOC in any directory on your hard drive.  Your path is
  63. described in your AUTOEXEC.BAT  .  The directory DOS is always in path.
  64.  
  65.  
  66.  
  67.             I hope it works as well for you as it has for me.
  68.  
  69.                 INCREMNT.BAT          By    Steve Elliott
  70.  
  71.